﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace _2021_6_10
{
    public partial class GuestInfo : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                time.Text = $"您好：当前时间是:{System.DateTime.Now.ToString()}";
            }
        }

        protected void submit_Click(object sender, EventArgs e)
        {
            reminder.Text = "请确认您填写的信息:";
            guestInfo.Text = $"姓名：{name.Text} 年龄：{age.Text} 爱好：{hobby.Text}";
        }

    }
}